package cn.tworice.system.dao.role.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 角色资源信息
 * @author 二饭
 * @email 1786705138@qq.com
 */
@Data
@Accessors(chain = true)
@TableName("system_role_resources")
public class RoleResourcesDO implements Serializable {
    private static final long serialVersionUID = -8972143934601204810L;
    @TableId(type = IdType.AUTO)
    Integer id;
    Integer roleId; // 角色ID
    Integer resourceId; // 资源ID
}
